package com.appkubes.mall.admin.application.plugin.plugin.service;

import com.appkubes.common.exception.BusinessException;
import com.appkubes.mall.admin.application.plugin.plugin.dao.PluginDao;
import com.appkubes.mall.admin.application.plugin.plugin.entity.constant.PluginCodeConstant;
import com.appkubes.mall.admin.application.plugin.plugin.entity.vo.PluginAddVO;
import com.appkubes.mall.core.entity.MallPlugin;
import com.appkubes.mall.core.service.BaseMallPluginService;

/**
 * @Author: Rongjie
 * @Date: 2020/1/15 23:06
 * @Description:
 */
public interface PluginService extends BaseMallPluginService {

    PluginDao getPluginDao();

    MallPlugin addPlugin(PluginAddVO addVO) throws BusinessException;

    MallPlugin getPlugin(String appKey, String systemPluginCode);

    MallPlugin getPlugin(String appKey, PluginCodeConstant systemPluginCode);
}
